opencard.opt.applet
Interface AppletSelector

All Known Implementing Classes:
AbstractAppletAccessor, ISOAppletSelector

public interface AppletSelector

The AppletSelector interface defines the minimum features that are necessary for working with card-resident applets.

Since:
OCF1.2
See Also:
CardChannel, AppletID, AppletInfo

Method Summary
 AppletInfo selectApplet(CardChannel channel, AppletID appletIdentifier)
          Select a given applet with the specified AppletID.
 

Method Detail

selectApplet

public AppletInfo selectApplet(CardChannel channel,
                               AppletID appletIdentifier)
                        throws CardServiceException,
                               CardTerminalException
Select a given applet with the specified AppletID.

Returns:
applet info
an AppletInfo object with the information that has been provided by the card (or at the minimum an AppletInfo object including the Applet AID). A ResponseAPDU object can be stored in the "data" attribute of the returned AppletInfo in order to provide more detailed information to the caller.
Throws:
CardTerminalException - Thrown when error occurs during the communication.
CardServiceException - Thrown when error occurs during execution of the operation.